convert json to mysql using PHP